$(function(){
var html = '<div class="inner">\
<div class="nav">\
<ul>\
    <li id="id_li_event"><a target="_blank" href="javascript:void(0);">首页</a></li>\
    <li id="id_li_myevent" class="choose"><a href="/index.php?s=Home/index/choosePaper">在线答题</a></li>\
    <li id="id_li_account"><a href="javascript:void(0);">个人中心</a></li>\
</ul>\
</div>\
<ul class="login" id="changeclass">\
<li><span id="huodongshu_welcome_span">{$loginName}</span>\
    <a href="/index.php?s=Home/Check/loginOut&from=index"> | 退出</a>\
</li>\
 <li class="">\
    <a id="huodongshu_login" href="/index.php?s=Home/Check/login&from=index">登录 | </a>\
    <a id="huodongshu_register" href="/html/register.html">注册</a>\
</li>\
</ul>\
</div>';
$(".global_head").html(html);
});